package cn.zzszxyy.hr.service;

import cn.zzszxyy.hr.model.JobTitleEntity;
import cn.zzszxyy.hr.repository.JobTitleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 作者:张伟
 * <p>
 * 联系:adamzzww@163.com
 * 时间:2016-11-28
 * 说明:无
 */
@Service
public class JobTitleService {

    @Autowired
    private JobTitleRepository jobTitleRepository;

    public List<JobTitleEntity> findAll() {
        return jobTitleRepository.findAll();
    }


}
